﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WUCCategoryImage.ascx.cs" Inherits="WebAppArtreve.views.shared.components.categories.WUCCategoryImage" %>
<asp:ListView ID="ListViewArt" runat="server" 
DataSourceID="ODSCategoryImageById">
    <LayoutTemplate>
        <asp:Image id="itemPlaceholder"  runat="server" ImageUrl="~/styles/assets/images/categories/1203876167KQu09s.jpg" />
    </LayoutTemplate>
    <ItemTemplate>        
        <asp:Image ID="Image1" CssClass="imgArtView" runat="server" ImageUrl='<%# GetRealImageURL((String)DataBinder.Eval(Container.DataItem, "ImgUrl")) %>' />        
    </ItemTemplate>
</asp:ListView>
<asp:ObjectDataSource ID="ODSCategoryImageById" 
    runat="server" 
    TypeName="CLibArtreve.bll.CategoryBLL"  
    SelectMethod="GetCategoryById"
    onselecting="ODSArtsALL_Selecting"
    OnObjectCreating="ODSCategoryImageById_OnObjectCreating">
</asp:ObjectDataSource>